﻿using System;

namespace ManageDto
{
    /// <summary>
    /// 功能菜单数据
    /// </summary>
    [Serializable]
    public class ModuleDto
    {
        /// <summary>
        /// 实体构造
        /// </summary>
        public ModuleDto()
        {
            this.ModuleId = Guid.NewGuid().ToString("N");
        }

        public string ModuleId { get; set; }
        public string ParentId { get; set; }
        public string ModuleCode { get; set; }
        public string FullName { get; set; }
        public string Icon { get; set; }
        public string ActionAddress { get; set; }
        public string IndexAddress { get; set; }
        public string TargetEnReg { get; set; }
        public bool IsMenu { get; set; }
        public bool IsPublic { get; set; }

        public string ResourceTypeId { get; set; }
        public string ResourceTypeName { get; set; }

        public int Sort { get; set; }
        public string BusinessID { get; set; }
        public string ModifyUserId { get; set; }

        public string ParentName { get; set; }
    }
}
